package org.dtree.ow.models;

import org.dtree.ow.base.model.BaseModel;
import org.nutz.dao.entity.annotation.*;

/**
 * 
 * @author kerbores
 *
 * @email kerbores@gmail.com
 *
 */
@Table("dt_ow_user")
@Comment("用户表")
public class User extends BaseModel {


	@Name
	@Comment
	@Column("id")
	@ColDefine(type = ColType.VARCHAR, width = 32)
	private String id;
	@Comment
	@Column("account")
	@ColDefine(type = ColType.VARCHAR, width = 32)
	private String account;
	@Comment
	@Column("password")
	@ColDefine(type = ColType.VARCHAR, width = 32)
	private String password;
	@Comment
	@Column("last_login_ip")
	@ColDefine(type = ColType.VARCHAR, width = 32)
	private String lastLoginIp;
	@Comment
	@Column("login_ip")
	@ColDefine(type = ColType.VARCHAR, width = 32)
	private String loginIp;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getLastLoginIp() {
		return lastLoginIp;
	}

	public void setLastLoginIp(String lastLoginIp) {
		this.lastLoginIp = lastLoginIp;
	}

	public String getLoginIp() {
		return loginIp;
	}

	public void setLoginIp(String loginIp) {
		this.loginIp = loginIp;
	}
}